<?php
$this->breadcrumbs = array(
	'Insurances'=>array('index'),
	$model->name,
);

$this->menu = array(
	array('label'=>'List Insurance', 'url'=>array('index')),
	array('label'=>'Create Insurance', 'url'=>array('create')),
	array('label'=>'Update Insurance', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Insurance', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete', 'id'=>$model->id), 'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Insurance', 'url'=>array('admin')),
);
?>

<h1>View Insurance #<?php echo $model->id; ?></h1>

<div>
	<?php
	$properties = array(
		'items'=>$model->getMenu($this->action->id, true),
		'htmlOptions'=>array(
			'class'=>'operations',
		),
		'encodeLabel'=>false,
	);
	$this->widget('zii.widgets.CMenu', $properties);
	?>
</div>

<hr />

<?php
$properties = array(
	'data'=>$model,
	'attributes'=>array(
		'name',
		'code',
		'validFrom',
		'validUntil',
		'note',
	),
);
$this->widget('zii.widgets.CDetailView', $properties);
?>
